//#include "benchmark/benchmark.h"
//#include "TimeWheelWrapper.h"
//
//// Alternatively, can add libraries using linker options.
//#ifdef _WIN32
//#pragma comment ( lib, "Shlwapi.lib" )
//#ifdef _DEBUG
//#pragma comment ( lib, "benchmarkd.lib" )
//#else
//#pragma comment ( lib, "benchmark.lib" )
//#endif
//#endif
//
//using namespace TimeWheel;
//
//class TimeWheelFixture : public benchmark::Fixture {
//public:
//
//    TimeWheelMS tw;
//    std::vector<TimerPtr> vecTimer;
//
//    void SetUp(const ::benchmark::State& state) override {
//        srand(time(NULL));
//    }
//
//    void TearDown(const ::benchmark::State& state) override {
//
//    }
//};
//
//BENCHMARK_F(TimeWheelFixture, StartTimer)(benchmark::State& state) {
//    for (auto _ : state) {
//        TimerPtr pTimer = CTimer::CreateNew();
//        if (pTimer == nullptr)
//        {
//            continue;
//        }
//
//        pTimer->Start(tw.TimeWheel(), rand(), [](void* arg) {}, nullptr);
//        vecTimer.push_back(pTimer);
//    }
//}
//
//BENCHMARK_MAIN();